package org.easy.eao.spring.hibernate;

import java.util.Collection;

import org.easy.eao.annotations.Merge;

public interface MergeGenericEao<T1, T2> {
	
	@Merge
	void generic_single_entity(T1 person);
	
	@Merge
	void generic_multi_entity(T1 person, T2 exam);
	
	@Merge
	void generic_variable(T1...persons);
	
	@Merge
	void generic_array(T2[] array);
	
	@Merge
	void generic_collection(Collection<T1> persons);

}
